package demo.goods;

import com.alibaba.fastjson.JSON;

/**
 * @projectName: design-pattern-demo
 * @className: GoodsService
 * @description: 模拟实物商品服务
 * @author: MagicDuck
 * @create: 2020-07-16 16:00
 **/
public class GoodsService {
    /**
     * 交付商品
     * @param req   交付请求
     * @return      交付结果
     */
    public Boolean deliverGoods(DeliverReq req) {
        System.out.println("模拟发货实物商品一个：" + JSON.toJSONString(req));
        return true;
    }

}
